package com.hongfeng.web.model.common;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

public class BaseEntity implements Serializable {

	private static final long serialVersionUID = -6733202722795822021L;

	@Column(name = "create_time")
	@Temporal(TemporalType.TIMESTAMP)
	Date createTime;

	@Column(name = "creator", length = 50)
	protected String creator;

	@Column(name = "edit_time")
	@Temporal(TemporalType.TIMESTAMP)
	protected Date editTime;
	
	@Column(name = "editor", length = 50)
	protected String editor;

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Date getEditTime() {
		return editTime;
	}

	public void setEditTime(Date editTime) {
		this.editTime = editTime;
	}

	public String getEditor() {
		return editor;
	}

	public void setEditor(String editor) {
		this.editor = editor;
	}

}
